package com.management.vtribe.mapper;

import com.management.vtribe.Bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {

    List<User> getAllUser();

    List<User> getUserByUsername(String username);

    List<User> getUserById(int id);

    int deleteUserById(int id);

    int updateUserById(@Param("state") String state, @Param("id") int id);
}
